home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / os2confg.zip / CONFIG1.TXT
Text File  |  1993-03-19  |  22KB  |  413 lines

  1.  
  2. --------------------------------------------------------------------------------------------------------------
  3. Copyright (c) 1992, Rick Meigs, 3041 SE Tenth Street, Portland, OR, 97202.  PRODIGY BVGW18A.
  4.  
  5. This file may be freely distributed on a not-for-profit basis, but the copyright notice may not be removed and 
  6. the file may not be modified.  If you have questions, comments, additions or suggestions, please contact Rick 
  7. Meigs.  They will be evaluated for possible inclusion in a later addition.
  8. --------------------------------------------------------------------------------------------------------------
  9.  
  10.                        OS/2 2.0 CONFIG.SYS DESCRIPTION
  11.  
  12.  
  13. For me and many others the OS/2 2.0 CONFIG.SYS file is somewhat of a mystery.  So, in the hope of learning 
  14. something of use, I began researching what many of the commands were for.  This file is the result of that re
  15. search.  It briefly describes many of the common commands found in an OS/2 CONFIG.SYS file.  Naturally, not all 
  16. possible commands are listed (especially the many hardware device drivers), but most of the more common ones 
  17. are.  I've use my own CONFIG.SYS as the foundation for this file.
  18.  
  19.  
  20. BEGINNING OF FILE LISTING
  21. ---------------------------------------------------------------------
  22.  
  23. IFS=C:\OS2\HPFS.IFS  /CACHE:384 /CRECL:4 /AUTOCHECK:C
  24.  
  25.      This OS/2 command installs the HPFS, if you are using it, instead of FAT.  The syntax is 
  26.      IFS=DRIVE:PATH\FILENAME,SWITCHES.  There are three switches:  /CACHE:nnn sets up a disk cache 
  27.      and sets it size; /CRECL sets the maximum record size for caching, from 2k to 64k in multiples 
  28.      of 2k; and /AUTOCHECK:nn tells the system to run CHKDSK and sets the drives to be checked at 
  29.      startup.
  30.  
  31. PROTSHELL=C:\OS2\PMSHELL.EXE
  32.  
  33.      This OS/2 command loads OS/2's user interface program which is PMSHELL which allows you to 
  34.      make full-screen and window sessions work.  The current interface program is the Workplace 
  35.      Shell (WpS), but in theory you could purchase or develop your own user interface and use it 
  36.      instead of the WpS.
  37.  
  38. SET USER_INI=C:\OS2\OS2.INI
  39.  
  40.      Tells OS/2 the name and locations of the file that contains your desktop setup information and 
  41.      the options saved from OS/2 applications which need to do so.  OS2.INI is the default file 
  42.      name.
  43.  
  44. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  45.  
  46.      Tells OS/2 the name and location of its INI file.  This file tells OS/2 what kind of equipment 
  47.      you system uses.  NOTE:  OS2.INI and OS2SYS.INI are critical files and should not be deleted 
  48.      or modified.  They are no ASCII and cannot be used with an ASCII editor if they become dam
  49.      aged, therefore, you should consider backing up these files with a program such as WPSBKUP, a 
  50.      shareware program you can obtain on many OS/2 BBSs.
  51.  
  52. SET OS2_SHELL=C:\OS2\CMD.EXE
  53.  
  54.      OS2_SHELL directs OS/2 to load the command-line shell identified at boot time.  The COMSPEC 
  55.      line below helps OS/2 find the command-line shell later.
  56.  
  57. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  58.  
  59.      This command is used to start parts of the OS/2 WpS.  If you remove any of these statements, 
  60.      then you will be restricted from accessing portions of the shell.
  61.  
  62. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  63.  
  64.      This line tells the system what interface program is to be used.  In this case it is the Work
  65.      place Shell.
  66.  
  67. SET RESTARTOBJECTS=YES
  68.  
  69.      This command tells OS/2 what objects/applications to restart after you suspend operations with 
  70.      or without doing a Shut_down (as in doing a Ctrl-Alt-Del because some faulty program has 
  71.      locked up your system).  If this statement is not in your config.sys, then the default is YES, 
  72.      start all objects that were running at the time of Shut_down or reboot.  NO=do not start any 
  73.      applications that were running at time of shutdown or reboot.  STARTUPFOLDERSONLY= start ob
  74.      jects only in the Startup folder.  REBOOTONLY= Start objects only if the OS/2 WpS is starting 
  75.      from a reboot or at power on. 
  76.  
  77. SET COMSPEC=C:\OS2\CMD.EXE
  78.  
  79.      This line identifies what command-line shell is to be used and where its at.  In DOS, 
  80.      COMMAND.COM is equivalent to CMD.EXE. 
  81.  
  82. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  83.  
  84.      This is an OS/2 command.  It tells OS/2 where to locate Dynamic Link Libraries or DLLs.  LIB
  85.      PATH is similar to DPATH and PATH, but the statement can only be used in the config.sys file 
  86.      and OS/2 does not search the current directory for DLLs unless you include it in the LIBPATH 
  87.      statement.  To have OS/2 search the current directory, include a period "." right after the 
  88.      equal "=" symbol as noted above.  You don't need to use the SET command with LIBPATH.
  89.  
  90. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  91.  
  92.      Just like in DOS, it tells both DOS and OS/2 where to find programs.  
  93.  
  94. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  95.  
  96.      This is an OS/2 command.  It tells OS/2 programs where to look for data files.  It is similar 
  97.      to the DOS APPEND command, but unlike APPEND, DPATH only works with programs designed to use 
  98.      it.
  99.  
  100. SET PROMPT=[$p]
  101.  
  102.      Standard DOS command for setting how your OS/2 command prompt will appear.  As noted here, the 
  103.      command prompt will appear showing the current directory of the default drive enclosed in [], 
  104.      e.g. [C:\].  Having the [] bracket the drive and directory information lets you quickly know 
  105.      when you are at an OS/2 command line verse a DOS command line.
  106.  
  107.      This is for OS/2 only.  Set the DOS PROMPT default in your AUTOEXEC.BAT file.
  108.  
  109. SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  110.  
  111.      Tells OS/2 where the help files are located.  OS/2 will only look for a program's help files 
  112.      in the path shown.
  113.  
  114. SET GLOSSARY=C:\OS2\HELP\GLOSS;
  115.  
  116.      Tells OS/2 where the Glossary file and Master Help file is located.
  117.  
  118. SET DIRCMD=/O /P
  119.  
  120.      This is the OS/2 equivalent of the DIR command.  In DOS 5.x you can tell DIR how to present 
  121.      the information.  To do this in OS/2, use the undocumented DIRCMD.  For example:  SET 
  122.      DIRCMD=/O /P tells OS/2 to display the DIR information in alpha order and place a pause at the 
  123.      end of each page.
  124.  
  125.      This is for OS/2 only.  Set the DOS default in your AUTOEXEC.BAT file.
  126.  
  127. PRIORITY_DISK_IO=YES
  128.  
  129.      This command determines whether applications running in the foreground have priority access to 
  130.      disks.  The default is YES.  If you want all applications to have equal access to your disks, 
  131.      then change this statement to NO.
  132.  
  133. FILES=20
  134.  
  135.      This is a standard DOS command which sets the maximum number of files that DOS can access at 
  136.      the same time.  OS/2 sets the default at 20, but some DOS programs may require that you in
  137.      crease this number.
  138.  
  139. DEVICE=C:\OS2\TESTCFG.SYS
  140.  
  141.      TESTCFG.SYS is used during the install process to test your systems configuration.  It is also 
  142.      used by the Selective Install process and during device driver installations.
  143.  
  144. DEVICE=C:\OS2\PMDD.SYS
  145.  
  146.      PMDD.SYS makes the Presentation Manager work and OS/2 will not start unless you have this line 
  147.      in your config.sys.
  148.  
  149. BUFFERS=30
  150.  
  151.      Tells OS/2 how many disk buffers to use.  Range is from 1 to 100.  Each buffer takes up to 512 
  152.      bytes of RAM.  30 is the default and usually works well.
  153.  
  154.      The disk buffers are blocks of memory set aside by OS/2 for use in reading and writing blocks 
  155.      of data.  Generally, you can speed up your system by increasing the number of BUFFERS.  But, 
  156.      keep in mind that as you increase the number, you reduce available memory.  30 is the default, 
  157.      but you may wish to experiment with a higher number.
  158.  
  159. IOPL=YES
  160.  
  161.      An OS/2 command that, when set to YES, lets programs that need to bypass OS/2 and work direct
  162.      ly with hardware devices, do so.  YES means that all programs can access the hardware direct
  163.      ly.  NO means that no program can access the hardware directly.  You can also specify a list 
  164.      of programs that are allowed to work directly with the hardware.  For example, IOPL=WS.EXE, 
  165.      Q.EXE,FLIST.EXE would allow only these three programs to access hardware directly.  
  166.  
  167. DISKCACHE=256,LW
  168.  
  169.      If you are using FAT file system, this command sets up a RAM disk cache.  The DISKCACHE line 
  170.      note here sets up a 256k cache with lazy writing enabled.  If you don't want lazy write ena
  171.      bled, then remove ",LW".  The default cache size is 64k, which I feel is to small.  If you 
  172.      have the RAM, increase the size to improve system performance.  If you want CHKDSK to automat
  173.      ically check your startup partition (usually C), then add this switch to end of the DISKCASCHE 
  174.      command:  AC:n where n is your startup partition, e.g. AC:C.
  175.  
  176.      If you are only using HPFS, then you can REM this statement.
  177.  
  178. MAXWAIT=3
  179.  
  180.      This OS/2 command sets the longest period a program will have to wait to execute before OS/2 
  181.      ups its priority.  This makes sure that no program is put on hold forever will some other pro
  182.      gram hogs the system.  You can set MAXWAIT from 1 to 255 seconds.  The default is 3 seconds as 
  183.      shown here. 
  184.  
  185. MEMMAN=SWAP,MOVE,PROTECT
  186.  
  187.      OS/2 can run more programs and use more data than can actually be stored in memory at any 
  188.      given time.  This is done by swapping large amounts of memory to your hard disk when they are 
  189.      not being used, and then reading them back into memory when needed.  This is called virtual 
  190.      memory.  If you only have 4 meg of memory (or less) and you see lots of disk activity while 
  191.      you are working with your system, this is the process that is more than likely occurring.  It 
  192.      will slow down your system and cause your hard disk to fragment quicker than normal.
  193.  
  194.      This OS/2 command controls this process.  The syntax is MEMMAN=s,m,PROTECT where s=SWAP or 
  195.      NOSWAP; m=MOVE or NOMOVE; and PROTECT allows memory compaction with protected dynamic link 
  196.      libraries.  The default is to have virtual memory on.  To turn off virtual memory, which is 
  197.      NOT recommended, the config.sys line should read:  MEMMAN=NOSWAP,NOMOVE.
  198.  
  199. SWAPPATH=C:\OS2\SYSTEM 512 2000
  200.  
  201.      As noted above, OS/2 can allocate more memory than it actually has available.  It does this by 
  202.      swapping data to a disk file called SWAPPER.DAT.
  203.  
  204.      The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE AND PATH is the location where you want 
  205.      the SWAPPER.DAT file to be placed; mmm is a number from 512 to 32767 and specifies how large 
  206.      the SWAPPER.DAT file can growth before it stops consuming hard disk space.  The size is noted 
  207.      in the negative, in other words, if you have the nnn set to 512 and you have a 105 meg hard 
  208.      disk, the SWAPPER.DAT file will not grow larger than 105meg minus 512k; and nnn is the start
  209.      ing size of the SWAPPER.DAT file.  In the config.sys line above, the starting size is 2000k or 
  210.      2 meg.
  211.  
  212. BREAK=OFF
  213.  
  214.      For DOS programs only.  Many DOS programs can be stopped by holding down the Ctrl key and then 
  215.      pressing the Break key.  BREAK controls how quickly DOS programs stop when you interrupt them 
  216.      with the Ctrl-Break sequence.  If BREAK=OFF, DOS will stop the program only when the programs 
  217.      next reads a character from the keyboard or writes to the screen or printer.  With BREAK=ON, 
  218.      they DOS will check for the Ctrl-Break on a more frequent basis.  Remember that this extra 
  219.      checking can make your DOS programs run slower.
  220.  
  221. THREADS=256
  222.  
  223.      OS/2 programs can have several different processes running at the same time.  These are called 
  224.      threads.  This OS/2 command sets the maximum number of threads, from 32 to 4095, that OS/2 can 
  225.      run at the same time.
  226.  
  227. PRINTMONBUFSIZE=134,134,134
  228.  
  229.      This OS/2 command sets the size of the print buffers for your parallel ports.  The syntax if 
  230.      PRINTMONBUFSIZE=lpt1,lpt2,lpt3 where lpt1 is the buffer size for the parallel port LPT1, lpt2 
  231.      is the buffer size for LPT2 and lpt3 is the buffer size for LPT3.  The default and minimum is 
  232.      134 bytes and the maximum is 2048 bytes.
  233.  
  234.      If you are not using LPT2 or LPT3, then do not set up a buffer for them and use these bytes to 
  235.      increase the buffer for LPT1 (PRINTMONBUFSIZE=402,0,0) which should increase the speed of 
  236.      printing.  Note that you still need to define a buffer for LPT2 and LPT3, but you indicate of 
  237.      0 byte size.  You will get an error message at startup if you don't.
  238.  
  239. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  240.  
  241.      Customizes your system for the country you wish to use.  It establishes which defaults to use 
  242.      when it comes to decimal separators, date and time formats, currency symbols, etc.  The format 
  243.      is COUNTRY=xxx,PATH,FILE NAME.  xxx is a three-digit code number that tells what country to 
  244.      use.  The number is usually (but not always) the same as the telephone international dialing 
  245.      prefix for the country desired.  Several example:  United States=001, United Kingdom=044, 
  246.      France=033, Germany=049, Korea=082. 
  247.  
  248. SET KEYS=ON
  249.  
  250.      When using the Command-line, KEYS tells CMD.EXE whether to remember previous keystrokes so 
  251.      they can be recalled with the up arrow key.  OS/2 maintains a 64k buffer for storing keystroke 
  252.      history.  KEYS can be ON or OFF.
  253.  
  254. REM SET DELDIR=C:\DELETE,512;
  255.  
  256.      To use OS/2's UNDELETE command, you must first establish a directory in which to store an the 
  257.      deleted files.  To do this, create a directory called DELETE in your root and then remove the 
  258.      "REM" from this config.sys command line.  
  259.  
  260.      This command points OS/2 to the directory you created to place deleted files.  It also indi
  261.      cates the maximum number of files that will be stored in the DELETE directory.  If the number 
  262.      of deleted files exceeds the maximum number that you specified, then files are automatically 
  263.      removed from the directory on a first-in-first-out basis.
  264.  
  265. BASEDEV=PRINT01.SYS
  266. BASEDEV=IBM1FLPY.ADD
  267. BASEDEV=IBM1S506.ADD
  268. BASEDEV=OS2DASD.DMD
  269.  
  270.      BASEDEV installs a base device driver used by OS/2 when it is first started.  The statement 
  271.      cannot contain either a drive or path because OS/2 cannot process such information at the 
  272.      stage at which these statements are process.
  273.  
  274.      PRINT01.SYS supports attached printers on non-Micro Channel PC's.
  275.      IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  276.      IBM1S506.ADD supports non-SCSI disk drives on non-Micro Channel PC's.
  277.      OS2DASD.DMD is a general purpose driver for disk drives.
  278.  
  279.  
  280. SET BOOKSHELF=C:\GAMATECH;C:\OS2\BOOK
  281.  
  282.      This command points to the on-line documentation provided with OS/2 and to any on-line docu
  283.      mentation provided by other OS/2 programs.  I have the GAMMATECH utilities installed on my 
  284.      system which contains on-line documentation. 
  285.  
  286. SET EPATH=C:\OS2\APPS
  287.  
  288.      According to Mel Hallerman of IBM, EPATH is used by the Enhanced Editor (EPM.EXE).  I assume 
  289.      it points to where the Editor is located. 
  290.  
  291. PROTECTONLY=NO
  292.  
  293.      An OS/2 command.  Allows you to choose between a shared DOS and OS/2 operating environment or 
  294.      just an OS/2 environment.  If you plan to run only OS/2 programs, then set PROTECTONLY=YES.  
  295.      If you plan to run DOS programs (this includes Windows programs also), then set 
  296.      PROTECTONLY=NO.
  297.  
  298. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  299.  
  300.      This line identifies and loads the DOS command processor COMMAND.COM which you must have to 
  301.      make DOS sessions work.  The /p switch keeps the command processor in memory until shutdown.
  302.  
  303.      You can also load and run other command processor's such as 4DOS.  To do so, just put 4DOS in 
  304.      the MDOS directory and change the SHELL line to read 4DOS instead of COMMAND.COM.  You will 
  305.      also need to add another line to your config.sys:  SET COMSPEC=C:\OS2\MDOS\4DOS.COM.
  306.  
  307. FCBS=16,8
  308.  
  309.      File control blocks (FCBS) give information about a file to DOS.  This config.sys line tells 
  310.      DOS how many FCBS can be open at once, or, when DOS needs to open more FCBS than are avail
  311.      able, how many currently open but not active FCBS may be closed to make room for new ones.
  312.  
  313.      The syntax is FCBS=a,b where a=the number of FCBS that DOS can have open at one time and b=the 
  314.      number of FCBS DOS cannot close to make room for new FCBS.  "a" can be as high as 255.  "b" 
  315.      can have a value of 0 to 254, but must be less than "a".
  316.  
  317. RMSIZE=640
  318.  
  319.      This is a DOS command and sets the amount of memory available for DOSs use.  The maximum is 
  320.      640 kilobytes.  Since many DOS programs require 640k, its best to have RMSIZE set to 640, but 
  321.      if you have only DOS programs which take less than 640k, say 512k, and you could use extra RAM 
  322.      for OS/2, then set the value at 512 or something less.
  323.  
  324. DEVICE=C:\OS2\MDOS\VEMM.SYS 
  325.  
  326.      VEMM.SYS lets DOS programs use expanded memory unless you override it by changing a DOS pro
  327.      grams SETTINGS.
  328.  
  329. DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  330.  
  331.      Identifies and loads the mouse driver to let you use a mouse with DOS.  Mouse support for OS/2 
  332.      is loaded below.
  333.  
  334. DOS=LOW,NOUMB
  335.  
  336.      This is a standard DOS command that lets you control how DOS uses memory.  The OS/2 default is 
  337.      DOS=LOW,NOUMB.
  338.  
  339. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  340.  
  341.      VXMS.SYS is a device driver that provides Extended Memory management to DOS sessions.  XMS 
  342.      allows DOS programs to access more than one meg of memory.
  343.  
  344. DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  345.  
  346.      Your config.sys may contain various device drivers for various DOS related devices based upon 
  347.      your systems hardware configuration.  This is a CDROM device driver.
  348.  
  349. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  350.  
  351.      This command prepares your monitor to display information based upon the CODEPAGE specifica
  352.      tion.  VIOTBL.DCP is the file that contains the video fonts for displaying characters for each 
  353.      of the CODEPAGES supported by OS/2.  See the CODEPAGE command line below.
  354.  
  355. DEVICE=C:\OS2\MDOS\VVGA.SYS 
  356.  
  357.      Your config.sys may contain various device drivers for various DOS related devices based upon 
  358.      your systems hardware configuration.  This is a VGA video driver.
  359.  
  360. DEVICE=C:\OS2\POINTDD.SYS 
  361.  
  362.      POINTDD.SYS is the file that contains information on what the mouse pointer looks like and 
  363.      draws it on you screen.  It is required to make your mouse work correctly.  I think it would 
  364.      be nice if someone could write a few different POINTDD.SYS files with different looking mouse 
  365.      points.
  366.  
  367. DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  368.  
  369.      Lets you use a mouse or track ball with OS/2.  This line also identifies the type of mouse you 
  370.      have and which COM port it is on.  QSIZE is a number from 1 to 100 which indicates how many 
  371.      mouse actions are to be saved when you execute mouse actions faster than your system can han
  372.      dle them.
  373.  
  374. DEVICE=C:\OS2\COM.SYS  
  375.  
  376.      Lets you use the communications ports one and two (COM1 and COM2).  If you want to use COM3 or 
  377.      COM4 or change the IRQ of a COM point, then add the next line below.  This line MUST appear 
  378.      after any driver that uses the communications ports.  Use COM02.SYS if you have an IBM PS/2 
  379.      model 90 or 95.
  380.  
  381. DEVICE=C:\OS2\COM.SYS (3,3E8,4) (4,2E8,3)
  382.  
  383.      This line adds support for COM3 and COM4 in OS/2 at location 3E8 with IRQ 4 and 2E8 with IRQ 3 
  384.      respectively.  Instead of adding this line to provide support, you can just add (3,3E8,4) 
  385.      (4,2e8,3) to the DEVICE=C:\OS2\COM.SYS line above.
  386.  
  387. DEVICE=C:\OS2\MDOS\VCOM.SYS  
  388.  
  389.      Lets you use the communications ports for DOS sessions.
  390.  
  391. CODEPAGE=437,850
  392.  
  393.      Lets you use the alphabet of various countries and languages.  The Syntax is CODEPAGE=ppp,sss, 
  394.      where ppp is the number of the primary national alphabet to be used and sss is a secondary 
  395.      alphabet number.  437=US English alphabet and 850=multinational alphabet.  The multinational 
  396.      alphabet contains most of the accented letters used in various European languages.  Several 
  397.      other alphabets that can be supported by your version of OS/2 is Turkish (857), Portuguese 
  398.      (860), Iceland (861) and Nordic (865).  Japanese (932 & 942), Korean (934 & 944) and Chinese 
  399.      (938 & 948) require a special version of OS/2 and special hardware.
  400.  
  401.      If there is not a CODEPAGE statement in your config.sys, your keyboard will use an alphabet 
  402.      based on the COUNTRY statement, but your screen and printer will use their built-in defaults.
  403.  
  404. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  405.  
  406.      Tells the keyboard which international character set to use and where to find the file KEY
  407.      BOARD.DCP which translates keystrokes.  The syntax is DEVINFO=KBD,cc,DRIVE,PATH,FILENAME.  cc 
  408.      equals the character set to be used.  US=United States, UK=United Kingdom, BE=Belgium, 
  409.      FR=France, GR=Germany, etc.
  410.  
  411.  
  412. ---------------------------------------------------------------------
  413. ENDING OF FILE LISTING